$('#head-nav-1-2-2').hover(function  () {
		$('.car-1').css('display','block')
	},function  () {
		$('.car-1').css('display','none')
	
	})
	
$('.xmphone').hover(function  () {
	$('.box2').show(0,'linear')
},function  () {
	$('.box2').hide(0,'linear')
})

$('.pic>li').first().css('z-index','2')
$('.box>li').first().addClass('check')



var currentIndex = 0
var totalPicNum = $('.pic>li').length



function autoScroll () {
	if (currentIndex >= totalPicNum) {
		currentIndex = 0
	}
	console.log(currentIndex)
	$('.pic>li').eq(currentIndex).css('z-index','2').siblings().css('z-index','1')
	$('.box>li').eq(currentIndex).addClass('check').siblings().removeClass('check')
	
	currentIndex++
	
}
var timer = setInterval(autoScroll,2000)
 $('.page .next').click(function  () {
 	showNextImg();
 })

$('.shouji-name').hover(function  () {
	$('.shouji').css('display','block')
},function  () {
	$('.shouji').css('display','none')
})
$('.bijiben-name').hover(function  () {
	$('.bijiben').css('display','block')
},function  () {
	$('.bijiben').css('display','none')
})
